import request from "@/utils/request";

export const apiGetCode = ()=>{
	return request({
		url:'/captcha?type=login',
		method:'get',
		responseType: 'blob'
	})
}
// 登录
export const apiLogin = (data)=>{
	return request({
		url:'login',
		method:'post',
		data
	})
}
